#include <iostream>
#include "Http.hpp"

void Login(std::string& req, std::string& resp)
{
    
}

int main(int argc, char* argv[])
{
    if(argc != 2)
    {
        std::cout << "usage error" << std::endl;
    }
    uint16_t port = std::stoi(argv[1]);

    std::unique_ptr<Http> httpsvr = std::make_unique<Http>(port);
    httpsvr->Start();
    httpsvr->RegisterService("login", Login);
    return 0;
}